import Vue from 'vue'
import axios from 'axios'
// axios拦截
axios.defaults.baseURL= "http://111.229.67.82:8888/api/private/v1/"
axios.interceptors.request.use(config => {
  config.headers.Authorization = window.sessionStorage.getItem('token')
  // 必须返回config
  return config
})
Vue.prototype.$http = axios